/*
 * Copyright 2010-2013 Bornil Photography
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package main.java.net.bornil.db.entity;

import java.io.Serializable;

/**
 * @author MaMuN
 * 
 */
public class Event implements Serializable {

    /**
     * SerialVersion UID
     */
    private static final long serialVersionUID = -2331598208299273314L;

    private Integer evtId;
    private Integer evtStatus;
    private String evtClass;
    private String createdBy;
    private String updatedBy;

    public boolean isNew() {
        return (this.evtId == null);
    }

    /**
     * @return the evtId
     */
    public Integer getEvtId() {
        return evtId;
    }

    /**
     * @param evtId
     *            the evtId to set
     */
    public void setEvtId(Integer evtId) {
        this.evtId = evtId;
    }

    /**
     * @return the evtStatus
     */
    public Integer getEvtStatus() {
        return evtStatus;
    }

    /**
     * @param evtStatus
     *            the evtStatus to set
     */
    public void setEvtStatus(Integer evtStatus) {
        this.evtStatus = evtStatus;
    }

    /**
     * @return the evtClass
     */
    public String getEvtClass() {
        return evtClass;
    }

    /**
     * @param evtClass
     *            the evtClass to set
     */
    public void setEvtClass(String evtClass) {
        this.evtClass = evtClass;
    }

    /**
     * @return the createdBy
     */
    public String getCreatedBy() {
        return createdBy;
    }

    /**
     * @param createdBy
     *            the createdBy to set
     */
    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    /**
     * @return the updatedBy
     */
    public String getUpdatedBy() {
        return updatedBy;
    }

    /**
     * @param updatedBy
     *            the updatedBy to set
     */
    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

}
